package com.ecloud.aiassistantbackground.model.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 捆绑包表
 * </p>
 *
 * @author Squbirreland
 * @since 2021-04-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("assistant_bundle")
@ApiModel(value = "Bundle对象", description = "捆绑包表")
public class Bundle implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "捆绑包id")
    @TableId(value = "bundle_id", type = IdType.AUTO)
    private Integer bundleId;

    @ApiModelProperty(value = "捆绑包名称")
    private String bundleName;

    @ApiModelProperty(value = "捆绑包价格")
    private BigDecimal bundlePrice;

    @ApiModelProperty(value = "捆绑包状态 0下架 1上架")
    private String bundleStatus;

    @ApiModelProperty(value = "捆绑包截止时间")
    private LocalDateTime bundleEndTime;

    @ApiModelProperty(value = "捆绑包数量")
    private Integer bundleCount;

    @ApiModelProperty(value = "备用字段1")
    private String bundleReserve1;

    @ApiModelProperty(value = "备用字段2")
    private String bundleReserve2;

}
